package com.lq.ecoldchain.ui.mymileage.ranking

import com.lq.ecoldchain.R
import com.lq.ecoldchain.base.view.BaseFragment
import com.lq.ecoldchain.databinding.FragmentMileageRankingBinding
import org.kodein.di.Kodein
import org.kodein.di.generic.instance

/*
*2019/1/5 0005  20:07
*function by lq
*/
class MileageRankingFragment:BaseFragment<FragmentMileageRankingBinding>(){
    override val layoutId = R.layout.fragment_mileage_ranking
    override val viewDelegate: MileageRankingDelegate by instance()

    override fun initView() {
        binding.delegate = viewDelegate
    }

    override val kodein = Kodein.lazy {
        extend(parentKodein)
        import(mileageRankingKodeinModule)
    }
}